// const domainUrl = 'http://192.168.8.190:9500'
// const domainUrl = 'http://zhangmeng.dev.szjyyg.cn'
const domainUrl = 'http://106.14.148.151'

function loginUrl() {
  return `${domainUrl}/app/login`
}

function judgeIsDealerUrl() {
  return `${domainUrl}/erp/dealerinfo/judgeIsDealer`
}

function productArrayUrl() {
  return `${domainUrl}/erp/productlist`
}

function productSpecDictUrl(){
  return `${domainUrl}/erp/proudctspecdict`
}

function productDealerSpecDictUrl() {
  return `${domainUrl}/erp/listDealerProductList`
}

function productSpecsUrl() {
  return `${domainUrl}/erp/productspeclist`
}

function saveStorageRecord() {
  return `${domainUrl}/erp/storagerecord/save`
}

function storageRecordList() {
  return `${domainUrl}/erp/storagerecord/list`
}

function storageRecordDetailList() {
  return `${domainUrl}/erp/storagerecord/detailList`
}

function storageInfoList() {
  return `${domainUrl}/erp/storageinfo/list`
}

function dealerInfoAdd() {
  return `${domainUrl}/erp/dealerinfo/add`
}

export function judgeIsRegister() {
  return `${domainUrl}/app/systemmanager/judgeIsRegister`
}

export function smsPush() {
  return `${domainUrl}/base/sendmsg/smsPush`
}

export function smsVerify(){
  return `${domainUrl}/base/sendmsg/smsVerify`
}

export function signedContractList() {
  return `${domainUrl}/erp/signcontract/list`
}

export {
  loginUrl,
  judgeIsDealerUrl,
  productArrayUrl,
  productSpecDictUrl,
  productDealerSpecDictUrl,
  productSpecsUrl,
  saveStorageRecord,
  storageInfoList,
  storageRecordList,
  storageRecordDetailList,
  dealerInfoAdd
}
